import React, { Component } from 'react'
import RouterView from '../router/RouterView'
import Footer from '../components/Footer'
import '../App.scss'

export default class App extends Component {
    render() {
        const {routes}=this.props

        return (
            <div className="app">
                <main>
                    {/* <RouterView routes={this.props.routes} /> */}
                    <RouterView routes={routes} />

                </main>
                <footer>
                    <Footer />
                </footer>
            </div>
        )
    }
}


